/**
 * 
 */
package com.tomato.joke.persistence.model;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.tomato.joke.persistence.model.base.BaseEntity;

/**
 * 话题
 * 
 * @author defier
 * 
 */
@DatabaseTable(tableName = "joke_topic")
public class JokeTopic extends BaseEntity {

	@DatabaseField(columnName = "title", dataType = DataType.STRING)
	private String title; // 标题

	@DatabaseField(columnName = "content", dataType = DataType.STRING)
	private String content; // 内容

	@DatabaseField(columnName = "remark", dataType = DataType.STRING)
	private String remark; // 备注

	@DatabaseField(columnName = "visit_count", dataType = DataType.INTEGER)
	private int visitCount; // 点击数

	@DatabaseField(columnName = "publisher", dataType = DataType.STRING)
	private String publisher; // 内容发布者
	
	@DatabaseField(columnName = "thumbnail", dataType = DataType.STRING)
	private String thumbnail; // 图片快照

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getVisitCount() {
		return visitCount;
	}

	public void setVisitCount(Integer visitCount) {
		this.visitCount = visitCount;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

}
